package com.starmark.gateway.auth.security.constants;

/**
 * @author starmark
 * @date 20-2-14  下午5:15
 */
public final class GatewayConstant {
    /**
     * 工程ID
     */
    public  final static String X_CLIENT_PROJECT_CODE = "x-client-project-code";
    /**
     * 获取请求token,经JWT加密过
     */
    public  final static String X_CLIENT_TOKEN_USER = "x-auth-token";

    /**
     * 解密后的用户信息
     */
    public  final static String X_CLIENT_TOKEN = "x-client-token";
    /**
     * 当前请求的用户ID
     */
    public  final static String X_CLIENT_TOKEN_USER_ID = "x-client-token-userId";


    /**
     * 全部应用数据
     */
    public static final String STARMARK_GATEWAY_APPS = "starmark:gateway:apps:";


    public static final String STARMARK_GATEWAY_PROJECT = "starmark:gateway:project:info:";



    public static final String STARMARK_GATEWAY_RES = "starmark:gateway:res:";
    public static final String STARMARK_GATEWAY_RRR = "starmark:gateway:rrr:";

    /**
     * 网关接口REDISKey
     */
    public static final String STARMARK_GATEWAY_INTERFACES = "starmark:gateway:interface:";

    public static final String STARMARK_SWAGGER = "";
}
